﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddOrganization.ascx.vb"
    Inherits="WebForm_ManageOrganization_AddOrganization" %>

<div style="background-color: #351D26">
<asp:FormView ID="fv" runat="server" DefaultMode="ReadOnly">
    <ItemTemplate>
        <table>
            <tr>
                <td align="right">
                    <asp:Label ID="lblOrganizationName" runat="server" meta:resourcekey="lblOrganizationName"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtOrganizationName" runat="server" Text='<%#Bind("OrganizationName") %>'></asp:TextBox>
                 <asp:RequiredFieldValidator ID="rfvOrganizationName" runat="server" Display="None" SetFocusOnError="true" meta:resourcekey="rfvOrganizationName" ControlToValidate="txtOrganizationName" ValidationGroup="vInsert"></asp:RequiredFieldValidator>

                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblActive" runat="server" meta:resourcekey="lblActive"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlActive" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr style="display:none">
                <td align="right">
                    <asp:Label ID="lblInternal" runat="server" meta:resourcekey="lblInternal"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlInternal" runat="server">
                        <asp:ListItem Value="Y">Yes</asp:ListItem>
                        <asp:ListItem Value="N">No</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                </td>
                <td align="left">
                    <asp:Button ID="btnAdd" runat="server" meta:resourcekey="btnAdd" CommandName="btnSave" ValidationGroup="vInsert" />
                    <ajaxToolkit:ConfirmButtonExtender ID="cbSave" runat="server" TargetControlID="btnAdd" meta:resourcekey="cbSave"></ajaxToolkit:ConfirmButtonExtender>
                    <asp:Button ID="btnOK" runat="server" meta:resourcekey="btnOK" />
                         <asp:ValidationSummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="vInsert"></asp:ValidationSummary>
                </td>                 

            </tr>
        </table>
    </ItemTemplate>
</asp:FormView>
</div>
